<?php htmlTemplate('admin_header_frame.php');?>
	<table style="width:100%;line-height: 30px;">
	<tr style="background:#dddddd;">
			<td align="left" style="font-weight: bold;color:#005EAC;">&nbsp;&nbsp;名称
			</td>
			<td>&nbsp;
			</td>
			
	</tr>
	<?php foreach ($cate['list'] as $key=>$value ):?>	
		<?php if ($key%2==0) {
			$style='style="background:#eeeeee"';
			$color='#eeeeee';
		}else{
			$style='';
			$color='#ffffff';
		}?>
		<tr <?php echo $style;?>  onmouseover="this.style.background='#e3e3e3'" 
		onmouseout="this.style.background='<?php echo $color;?>'">
			<td>&nbsp;&nbsp;
			<?php echo $value['name'];?>
			</td>
			<td align="right">
			
			<input type="button" value="修改" onclick="tourl('<?php echo MVC_WWW_HOST.'admin/news/catemodify/id/'.$value['id'];?>');">&nbsp;&nbsp;
			<input type="button" value="删除" onclick="getUrl('<?php echo MVC_WWW_HOST.'admin/news/catedel/id/'.$value['id'];?>',1,1)">&nbsp;&nbsp;
			</td>
		</tr>	
	<?php endforeach;?>
	<tr style="background:#dddddd;">
			<td align="center" colspan="2">
			<?php echo $cate['html'];?>
			</td>
	</tr>
	</table>